const routes = [
    {
        path: '/',
        component: '@/pages/home/index',
        name: '系统首页',
        icon: 'BankOutlined'
    }, {
        path: '/login',
        component: '@/pages/login/index',
        menuRender: false, // 配置不显示侧边栏
        headerRender: false,
        footerRender: false,
    }, {
        path: '/pro',
        name: '商品管理',
        icon: 'BankOutlined',
        routes: [
            {
                path: '/pro/list',
                name: '商品列表',
                component: '@/pages/pro/index'
            }, {
                path: '/pro/search',
                name: '筛选列表',
                component: '@/pages/pro/search'
            }
        ]
    }, {
        path: '/banner',
        name: '轮播图管理',
        icon: 'BankOutlined',
        routes: [
            {
                path: '/banner/list',
                name: '轮播图列表',
                component: '@/pages/banner/index'
            }, {
                path: '/banner/add',
                name: '添加轮播图',
                component: '@/pages/banner/add'
            }
        ]
    },
]


export default routes